package com.funtonow.jqdk.ui;

import android.os.Bundle;

import androidx.annotation.Nullable;
import androidx.fragment.app.FragmentManager;

import com.funtonow.jqdk.R;
import com.funtonow.jqdk.base.BaseActivity;
import com.yilan.sdk.ui.category.ChannelFragment;

/**
 * @author Jiajien
 * @date 2019/6/22
 */
public class VideoActivity extends BaseActivity {

    @Override
    public int getLayoutRes() {
        return R.layout.fragment_video;
    }

    @Override
    public void onCreateActivity(@Nullable Bundle savedInstanceState) {

        initToolbar(getResources().getString(R.string.title_notifications));

        FragmentManager manager = getSupportFragmentManager();
        //带频道导航栏

        ChannelFragment fragment = new ChannelFragment();
        manager.beginTransaction().replace(R.id.content, fragment).commitAllowingStateLoss();
    }

}
